 #pragma once 
#include "../libcurl/include/curl/curl.h"

#include <iostream>
using namespace std;
 

class HttpClient 
{
public:
	HttpClient(void);
	 ~HttpClient(void);
	 int RequestURL(  std::string url,char buffer[],DWORD& nBuf);
private:
	static size_t WriteData( char *ptr, size_t size, size_t nmemb, void *userdata);
	
private:
	CURL* m_pEasyHandle;
};


